package com.sz.mes.service;

import com.diboot.core.vo.JsonResult;
import com.sz.mes.entity.Goods;
import com.sz.mes.service.BaseCustomService;

import java.util.List;

/**
* 商品相关Service
* @author hem
* @version 1.0
* @date 2023-06-14
 * Copyright © szhs
*/
public interface GoodsService extends BaseCustomService<Goods> {
    JsonResult insert(Goods entity) throws Exception;

    JsonResult selectGoodsId(String goodsCode);

    JsonResult deleteById(Long id);

    void deleteAll();

    List<String> filterDuplicateGoodsCode(List<String> goodsCodeList);
}
